package com.lh.spring.FrameUtil;

/**
 * @Description TODO
 * @Version 1.0.0
 * @Date 2024/1/27 17:23
 * @Created by LiuHua
 * @Path com.lh.spring.FrameUtil
 */
public class SpringUtil {
    /**
     * 首字符大写
     * @param beanName
     * @return
     */
    public static String UpperCase(String beanName){
        String UpperCase = beanName.substring(0, 1).toUpperCase();
        return UpperCase+beanName.substring(1);
    }

    /**
     * 首字符小写
     * @param beanName
     * @return
     */
    public static String LowerCase(String beanName){
        String UpperCase = beanName.substring(0, 1).toLowerCase();
        return UpperCase+beanName.substring(1);
    }
}
